function serviceArea(data) {
  for (let [key, val] of Object.entries(data.rows)) {
    // 位置
    var point = new BMap.Point(val.lng, val.lat)
    // 创建小车图标
    var myIcon = new BMap.Icon("./Package/images/fwq-t.png", new BMap.Size(32, 32));
    // 点位
    var marker = new BMap.Marker(point, { icon: myIcon });
    // 覆盖物标识
    marker.init = 'servicearea'
    vm.map.addOverlay(marker)
    marker.setTop({ isTop: true })

    var content = `
      <div class="MonitoringSty">
        <div class="MonitoringSty-title">服务区信息</div>
        <span>
          名称: ${val.name}
        </span>
        <p>
          描述: ${val.details}
        </p>
      </div >
      `
    addClickHandler(content, marker, 'servicearea') // 监控信息窗口

    // 标签创建
    var name = `
        <div style='width: auto; height: 22px; padding: 2px 5px; line-height: 22px; text-align: center;'>
          ${val['name']}
        </div>
      `
    var Distance = val['name'].length * 8
    var opts = {
      position: point,    // 指定文本标注所在的地理位置
      offset: new BMap.Size(-Distance, 20)    //设置文本偏移量
    }
    let label = new BMap.Label(name, opts);  // 创建文本标注对象
    label.init = "servicearea"
    label.setStyle({
      color: "#000",       //文本颜色
      fontSize: "14px",
      lineHeight: "24px",
      fontFamily: "微软雅黑",
      border: "0",
      borderRadius: '4px'
    });
    vm.map.addOverlay(label);
  }
}